using Microsoft.Xna.Framework;

namespace TPL.Xna.Common
{
    public static class SpriteSyntaxHelper
    {
        public static Sprite SetColor(this Sprite sprite, Color value)
        {
            sprite.Color = value;
            return sprite;
        }

        public static Sprite SetPosision(this Sprite sprite, Vector2 value)
        {
            sprite.Position = value;
            return sprite;
        }
    }
}
